A Python decorator for caching properties in classes.
